package kg.aibek.projecteuler.p10;

public class Problem33 {
	public static void main(String[] args) {
		for (int i = 1; i < 10; i++) {
			for (int j = 1; j < 10; j++) {
				for (int k = 1; k < 10; k++) {
					if ((double) i / j == (double) (10 * i + k) / (10 * k + j)) {
						System.out.println(i + " " + j + " " + k);
					}
				}
			}
		}
	}
}
